<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Grouping lectures and practicals</title>
    <link rel='stylesheet' href='stylesheets/bootstrap.css'/>
    <link rel='stylesheet' href='stylesheets/bootstrap-docs.css'/>
    <link rel='stylesheet' href='stylesheets/common.css'/>
</head>
<body>

<nav class="navbar navbar-inverse" role="navigation" id="mainNav">
    <a class="navbar-brand" href="#">Planning Tool</a>
    <div class="navbar-collapse collapse">
        <ul class="nav navbar-nav navbar-right">
            <li><a href="/TODO">Home</a></li>
            <li><a href="/TODO">My Lectures</a></li>
            <li><a href="/TODO">My Practicals</a></li>
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                   aria-expanded="false"><%= username %><span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="/TODO">My Profile</a></li>
                    <li role="separator" class="divider"></li>
                    <li><a href="/TODO">Log out</a></li>
                </ul>
            </li>
        </ul>
    </div>
</nav>

<div class="container bs-docs-container">
    <div class="col-md-8 col-md-offset-2">
        <div class="bs-docs-section no-intent">
            <h1>Lectures with associated practicals</h1>
            <button class="btn btn-primary float-right">Submit</button>
            <div class="float-clear"></div>
            <br>
            <div>
                <div class="panel panel-success fix-height" style="width:100%;">
                    <div class="panel-heading">
                        <a href="/TODO"><h3 class="panel-title no-warp">Title</h3></a>
                    </div>
                    <div class="panel-body">
                        <p>Practicals:</p>
                        <div class="min-height-100px margin-right" id="target1"  ondrop="drop_handler(event);" ondragover="dragover_handler(event);">
                        </div>
                    </div>
                </div>
            </div>
            <h1>Available Practicals</h1>
            <div id="particals" ondrop="drop_handler(event)" ondragover="dragover_handler(event)">
                <a class="btn btn-success max-width-200px no-warp fix-height" href="/TODO" id="source1" draggable="true" ondragstart="dragstart_handler(event);">Practical 1</a>
                <a class="btn btn-success max-width-200px no-warp fix-height" href="/TODO" id="source2" draggable="true" ondragstart="dragstart_handler(event);">Practical 1</a>
                <a class="btn btn-success max-width-200px no-warp fix-height" href="/TODO" id="source3" draggable="true" ondragstart="dragstart_handler(event);">Practical 1</a>
                <a class="btn btn-success max-width-200px no-warp fix-height" href="/TODO" id="source4" draggable="true" ondragstart="dragstart_handler(event);">Practical 1</a>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="javascripts/jquery-3.2.1.js"></script>
<script type="text/javascript" src="javascripts/bootstrap.js"></script>
<script type="text/javascript" src="javascripts/draging.js"></script>
</body>
</html>